package com.ailink.basic.reorder;

/**
 * Created by Administrator on 2018/10/25
 */
public class Reordering {
    public static void main(String[] args) {
        while (true) {
            int result = test();
            if (result == 1) {
                System.err.println(result);
                break;
            }
        }
    }

    private static int test() {
        int x, y;
        x = 1;
        try {
            x = 2;
            y = 0 / 0;
        } catch (Exception e) {
        } finally {
            System.out.println("x = " + x);
        }
        return x;
    }
}
